import {
	req
} from '../../utils/req.js';
export default {
	// 分类 1土地，2认养
	claimCateList(param) {
		return req.get("farm/app/IndexClaim/claimCateList", param)
	},
	// 认养轮播图
	claimBanner(param) {
		return req.get("farm/app/IndexClaim/claimBanner", param)
	},
	// 认养列表
	claimList(param) {
		return req.get("farm/app/IndexClaim/claimList", param)
	},
	// 认养详情
	claimInfo(param) {
		return req.get("farm/app/IndexClaim/claimInfo", param)
	},
	// 可使用卡券
	canUseCouponList(param) {
		return req.get("farm/app/IndexClaim/couponList", param)
	},
	//获取下单信息
	claimPayOrderInfo(param) {
		return req.get("farm/app/IndexClaim/claimPayOrderInfo", param)
	},
	//下单
	claimPayOrder(param) {
		return req.post("farm/app/IndexClaim/claimPayOrder", param)
	},
	//订单列表
	orderList(param) {
		return req.get("farm/app/IndexClaim/orderList", param)
	},
	//订单详情
	orderInfo(param) {
		return req.get("farm/app/IndexClaim/orderInfo", param)
	},
	//取消订单
	cancelOrder(param) {
		return req.post("farm/app/IndexClaim/cancelOrder", param)
	},
	//确认收货
	endOrder(param) {
		return req.post("farm/app/IndexClaim/endOrder", param)
	},
	//重新支付
	claimRePayOrder(param) {
		return req.post("farm/app/IndexClaim/claimRePayOrder", param)
	},
	//我的配送订单
	userSendOrderList(param) {
		return req.get("farm/app/IndexClaim/userSendOrderList", param)
	},
	// 配送订单退款
	sendOrderRefund(param) {
		return req.post("farm/app/IndexClaim/sendOrderRefund", param)
	},
	// 配送订单确认收货
	sendOrderReceiving(param) {
		return req.post("farm/app/IndexClaim/sendOrderReceiving", param)
	},
	//配送时间段
	sendTime(param) {
		return req.get("farm/app/IndexClaim/sendTime", param)
	},
	//配送下单
	sendOrderPayInfo(param) {
		return req.get("farm/app/IndexClaim/sendOrderPayInfo", param)
	},
	//我要配送
	sendOrderApply(param) {
		return req.post("farm/app/IndexClaim/sendOrderApply", param)
	},
	// 配送订单详情
	sendOrderInfo(param) {
		return req.get("farm/app/IndexClaim/sendOrderInfo", param)
	},
	// 养殖管理
	breedList(param) {
		return req.get("farm/app/IndexClaim/breedList", param)
	},
	// 养殖管理支付
	breedOrder(param) {
		return req.post("farm/app/IndexClaim/breedOrder", param)
	},
	// 我的养殖列表
	breedOrderList(param) {
		return req.get("farm/app/IndexClaim/breedOrderList", param)
	},
	// 我的养殖详情
	breedOrderInfo(param) {
		return req.get("farm/app/IndexClaim/breedOrderInfo", param)
	},
	// 购物车
	carInfo(param) {
		return req.get("farm/app/IndexUser/carInfo", param)
	},
	// 加入购物车 goods_id,goods_num = 1
	addCar(param) {
		return req.post("farm/app/IndexUser/addCar", param)
	},
	// 编辑购物车 goods_id,goods_num = 1
	carUpdate(param) {
		return req.post("farm/app/IndexUser/carUpdate", param)
	},
	// 删除购物车数量 id,goods_num=1
	delCar(param) {
		return req.post("farm/app/IndexUser/delCar", param)
	},
	// 批量删除购物车（ID ：arr)
	delSomeCar(param) {
		return req.post("farm/app/IndexUser/delSomeCar", param)
	},
	// 众筹活动商品列表
	collageList(param) {
		return req.get("farm/app/IndexClaim/collageList", param)
	},
	// 我的众筹记录（3个）
	userCollageLimit(param) {
		return req.get("farm/app/IndexClaim/userCollageLimit", param)
	},
	// 我的众筹列表
	userCollageList(param) {
		return req.get("farm/app/IndexClaim/userCollageList", param)
	},
	// 所有正在进行中的众筹
	claimCollageList(param) {
		return req.get("farm/app/IndexClaim/claimCollageList", param)
	},
	// 我的众筹详情
	claimCollageInfo(param) {
		return req.get("farm/app/IndexClaim/claimCollageInfo", param)
	},
}
